<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "hj_project_fh_history".
 *
 * @property int $id 主键id
 * @property string $project_manage 项目经理
 * @property int $update_at 修改时间
 * @property int $inputer 修改人
 * @property int $project_id 关联项目Id
 * @property int $status 0前期准备,1外业排查检测2内页报告编制,3报告审核,4出版,5送出,6已完成
 * @property int $percent 项目进度百分比
 * @property int $fhPlan_start_at 阶段计划开始时间
 * @property int $fhComplete_at 阶段完成时间
 */
class ProjectFhHistory extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%project_fh_history}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['update_at', 'inputer', 'project_id', 'status', 'percent', 'fhPlan_start_at', 'fhComplete_at'], 'integer'],
            [['project_manage'], 'string', 'max' => 255],
        ];
    }
}
